d/rules: Don't explicitly use --as-needed linker option
authorSimon McVittie <smcv@debian.org>
Mon, 27 Apr 2020 07:19:58 +0000 (08:19 +0100)
committerSimon McVittie <smcv@debian.org>
Mon, 27 Apr 2020 07:19:58 +0000 (08:19 +0100)
It's the default with bullseye toolchains.

debian/rules

index 934e0341564073ae249fb456064d7b7fd4aaf32f..16cc7b47072a97ac9f796adc78521aac90767c60 100755 (executable)
@@ -1,7 +1,6 @@
 #!/usr/bin/make -f
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 binaries := $(shell dh_listpackages)